package customSpring;

public class Test {

    /**
     * 
     * @param args
     */
    public static void main(String[] args) {
        ItcastClassPathXMLApplicationContext ctx = new ItcastClassPathXMLApplicationContext(
            "customSpring/beans.xml");
        PersonService personService = (PersonService) ctx.getBean("personService");
        personService.save();
    }

}
